package com.nuoniu.sibanyun.entity.dto.statistics;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.util.List;

@Data
@ApiModel("库存统计__现存量 查询条件")
public class InOutRecordDetailDto {

    private Page page = new Page();

    @ApiModelProperty(value = "期间-开始")
    private Integer startPeriod;

    @ApiModelProperty(value = "期间-结束")
    private Integer endPeriod;

    @ApiModelProperty(value = "单据日期-开始")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate voucherDateStart;

    @ApiModelProperty(value = "单据日期-结束")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate voucherDateEnd;

    @ApiModelProperty(value = "出入库日期-开始")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate inOutDateStart;

    @ApiModelProperty(value = "出入库日期-结束")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd" )
    private LocalDate inOutDateEnd;

    @ApiModelProperty(value = "单据类型")
    private List<String> dataSources;

    @ApiModelProperty(value = "业务类型")
    private  List<Integer> businessTypes;

    @ApiModelProperty(value = "仓库ID")
    private  List<Long> warehouseIds;

    @ApiModelProperty(value = "物料编码开始")
    private String inventoryCodeStart;

    @ApiModelProperty(value = "物料编码结束")
    private String inventoryCodeEnd;

    @ApiModelProperty(value = "物料名称")
    private String inventoryName;

    @ApiModelProperty(value = "规格型号")
    private String inventorySpecification;


}
